/**
 *
 */
package com.zhuoyue.elmt.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.eit.eitsite.common.persistence.Page;
import com.eit.eitsite.common.service.CrudService;
import com.zhuoyue.elmt.entity.WbEmergencyHelp;
import com.zhuoyue.elmt.dao.WbEmergencyHelpDao;

/**
 * 应急救援Service
 * @author JiangYH
 * @version 2017-04-10
 */
@Service
@Transactional(readOnly = true)
public class WbEmergencyHelpService extends CrudService<WbEmergencyHelpDao, WbEmergencyHelp> {

	public WbEmergencyHelp get(String id) {
		return super.get(id);
	}
	
	public List<WbEmergencyHelp> findList(WbEmergencyHelp wbEmergencyHelp) {
		return super.findList(wbEmergencyHelp);
	}
	
	public Page<WbEmergencyHelp> findPage(Page<WbEmergencyHelp> page, WbEmergencyHelp wbEmergencyHelp) {
		return super.findPage(page, wbEmergencyHelp);
	}
	
	@Transactional(readOnly = false)
	public void save(WbEmergencyHelp wbEmergencyHelp) {
		super.save(wbEmergencyHelp);
	}
	
	@Transactional(readOnly = false)
	public void delete(WbEmergencyHelp wbEmergencyHelp) {
		super.delete(wbEmergencyHelp);
	}
	
}